//
//  Profile.swift
//  chat
//
//  Created by 崔世强 on 2018/11/13.
//  Copyright © 2018 崔世强. All rights reserved.
//

import Foundation


/// IM HTTP服务url string格式
var IM_HTTP_SERVER_URL_STRING:String = {
    #if DEBUG
//    return "http://192.168.50.24:8080/"
//    return "http://192.168.3.117:8080/"
    return "http://121.199.19.184:8080/"
    #else
    return "http://121.199.19.184:8080/"
    #endif
}()

/// IM HTTP服务url
var IM_HTTP_SERVER_URL = URL(string:IM_HTTP_SERVER_URL_STRING)!

/// 默认聊天服务器HOST string 格式
var DEFAULT_IM_SERVER_URL_STRING:String = {
    #if DEBUG
//    return "https://192.168.50.24:9999/"
//    return "http://192.168.3.117:9999/"
    return "https://121.199.19.184:9999/"
    #else
    return "https://121.199.19.184:9999/"
    #endif
}()

/// 默认聊天服务器HOST
var DEFAULT_IM_SERVER_URL =  URL(string:DEFAULT_IM_SERVER_URL_STRING)!


let USER_DEFAULTS_NAME = "group.missle-chat"


let sec_key = "zLfT6B4EwXH7F4PxV7JqDsUYEwVmAfUJ" // 32字节长的密钥
let sec_iv = "Nw7e5H82Sk3O8KvZ" // 16字节长的IV
